package com.woniuxy.service;

import com.woniuxy.pojo.SysRole;
import com.woniuxy.pojo.dto.SysRoleDTO;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @author Administrator
 * @description 针对表【t_sys_role】的数据库操作Service
 * @createDate 2025-06-04 15:19:25
 */
public interface SysRoleService extends IService<SysRole> {

    List<SysRoleDTO> getAllRoles();

    Boolean updateStatus(SysRole sysRole);

    Boolean addNewRole(SysRole sysRole);

    Boolean updateRole(SysRole sysRole);

    Boolean deleteRole(Integer id);
}
